package ooday03;

public class Test {
    public static void main(String[] args) {
        Student zs = new Student("张三",20,"北京市海淀区","jsd2302","001");
        zs.eat();
        zs.drink();
        zs.study();
        zs.sayHi();

        Teacher ls = new Teacher("李四",30,"北京市朝阳区",10000);
        ls.eat();
        ls.drink();
        ls.teach();
        ls.sayHi();

        Doctor ww = new Doctor("王五",40,"北京市","主任");
        ww.eat();
        ww.drink();
        ww.cut();
        ww.sayHi();
    }
}
